<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.0/jquery.min.js"></script>

<script type="text/javascript" src="bower_components/masonry/masonry.js"></script>

</head>

<body>
<script>
$(document).ready(function() {
  $('#container').masonry({
   columnWidth: 320,
   itemSelector: '.item'
  }).imagesLoaded(function() {
   $('#content').masonry('reload');
  });
});
</script>

<div id="container" >
  <div class="item">ádfffffff.</div>
  <div class="item w2">sadfffffffffffffffffff..</div>
  <div class="item">.fffffffffffffffffffffffffffffffff..</div>
  ...
</div>
</body>
</html>
